package com.zhiyou.service;

import com.zhiyou.common.service.BaseService;
import com.zhiyou.mapper.BannerMapper;
import com.zhiyou.model.Banner;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tk.mybatis.mapper.common.Mapper;

@Service
public class BannerService extends BaseService<Banner> {

    @Autowired
    private BannerMapper bannerMapper;


    @Override
    public Mapper<Banner> getMapper() {
        return bannerMapper;
    }
}
